package com.gudy.counter.Controller;

import com.gudy.counter.bean.CounterRes;
import com.gudy.counter.bean.OrderInfo;
import com.gudy.counter.service.EntrustService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.servlet.http.HttpServletRequest;

@RestController
@RequestMapping(value = "entrust")
public class EntrustController {
    @Autowired
    private EntrustService entrustService;



    @RequestMapping(value = "queryDayEntrust")
    public CounterRes queryDayEntrust(HttpServletRequest request){
        return entrustService.queryDayEntrust(request);
    }
}